package com.kmzx.one.project.others.dto;

import java.math.BigDecimal;

public class WikiH5PayResponse {
    // 返回状态码 SUCCESS/FAIL
    private String return_code;
    // 返回信息 当return_code为FAIL时返回信息为错误原因
    private String return_msg;
    // 预支付交易会话标识 微信生成的预支付回话标识，用于后续接口调用中使用，该值有效期为2小时,针对H5支付此参数无特殊用途
    private String prepay_id;
    // 支付跳转链接 mweb_url为拉起微信支付收银台的中间页面，可通过访问该url来拉起微信客户端，完成支付,mweb_url的有效期为5分钟。
    private String mweb_url;

    private String payHtml;

    private BigDecimal orderMoney;

    private int channel;

    private String wxUrl;

    private String doPay;

    private String orderId;


    public String getReturn_code() {
        return return_code;
    }

    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }

    public String getReturn_msg() {
        return return_msg;
    }

    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }

    public String getPrepay_id() {
        return prepay_id;
    }

    public void setPrepay_id(String prepay_id) {
        this.prepay_id = prepay_id;
    }

    public String getMweb_url() {
        return mweb_url;
    }

    public void setMweb_url(String mweb_url) {
        this.mweb_url = mweb_url;
    }

    public String getPayHtml() {
        return payHtml;
    }

    public WikiH5PayResponse setPayHtml(String payHtml) {
        this.payHtml = payHtml;
        return this;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public WikiH5PayResponse setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
        return this;
    }

    public int getChannel() {
        return channel;
    }

    public WikiH5PayResponse setChannel(int channel) {
        this.channel = channel;
        return this;
    }

    public String getWxUrl() {
        return wxUrl;
    }

    public WikiH5PayResponse setWxUrl(String wxUrl) {
        this.wxUrl = wxUrl;
        return this;
    }

    public String getDoPay() {
        return doPay;
    }

    public WikiH5PayResponse setDoPay(String doPay) {
        this.doPay = doPay;
        return this;
    }

    public String getOrderId() {
        return orderId;
    }

    public WikiH5PayResponse setOrderId(String orderId) {
        this.orderId = orderId;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("WikiH5PayResponse{");
        sb.append("return_code='").append(return_code).append('\'');
        sb.append(", return_msg='").append(return_msg).append('\'');
        sb.append(", prepay_id='").append(prepay_id).append('\'');
        sb.append(", mweb_url='").append(mweb_url).append('\'');
        sb.append(", payHtml='").append(payHtml).append('\'');
        sb.append(", orderMoney=").append(orderMoney);
        sb.append(", channel=").append(channel);
        sb.append(", wxUrl='").append(wxUrl).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
